//
// Created by Administrator on 2025/4/19.
//

#include "Thread.h"

Thread::Thread(Thread::ThreadFun fun)
:_threadFun(fun)
{

}

Thread::~Thread() {

}

void Thread::start() {
    std::thread t(_threadFun);
    t.detach();
}
